﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace WoodAdmin.Models
{
    ///<summary>
    ///系统SQL统一管理
    ///</summary>
    [SugarTable("SysGlobalSql")]
    public partial class SysGlobalSql
    {
           public SysGlobalSql(){


           }
           /// <summary>
           /// Desc:主键
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int ID {get;set;}

           /// <summary>
           /// Desc:SQL键名
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string SQLKey {get;set;}

           /// <summary>
           /// Desc:SQL主体
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string SQLContent {get;set;}

           /// <summary>
           /// Desc:连接字符串名
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SqlConnection {get;set;}

           /// <summary>
           /// Desc:备注
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Remark {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int DelFlag {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int CreateMan {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:DateTime.Now
           /// Nullable:False
           /// </summary>           
           public DateTime CreateTime {get;set;}

    }
}
